package com.bingxue.edu.common.enums;


import com.bingxue.edu.framework.enums.Dict;
import com.bingxue.edu.framework.enums.DictEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import com.mybatisflex.annotation.EnumValue;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 操作方式
 *
 * @author panbo
 * @since 2024/6/27
 */
@Getter
@RequiredArgsConstructor
@Dict("操作来源")
public enum OperateSourceEnum implements DictEnum<String> {

    BACKEND("BACKEND", "后台"),
    PARENT("PARENT", "家长"),
    TEACHER("TEACHER", "老师"),
    ;

    @JsonValue
    @EnumValue
    private final String value;
    private final String label;
}
